package com.muyan.mq.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 签到rabbitmq 配置文件
 */
@Component
@Configuration
@ConfigurationProperties(prefix = "muyan.mq")
@Data
public class MqProperties {


    private String mqUrl;

    private Integer port;

    private String userName;

    private String passwd;

    private String virtualHost;

    private String exchangeName;

}
